﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace DotNetProject.Models
{
    public class Movie
    {
        [Key]
        public int movieId { get; set; }
        public string movieTitle{ get; set; }
        public virtual Genre movieGenre{ get; set; }
        public DateTime movieReleaseDate { get; set; }
        public string movieSummary{ get; set; }
        public string movieDirector{ get; set; }
        public int movieLength{ get; set; }
        public string movieImage { get; set; }
        public virtual ICollection<Review> movieReviews{ get; set; }
        public virtual ICollection<Showtime> movieShowtimes { get; set; }
    }
}